<? 
	include 'libraries/open_db_connection.php'; 
	include	'libraries/print_elements.php';
	include 'libraries/set_values.php';
	
	print_header();
	print_headline();
?>
<div id="main">	
<?
	print_navigator();
?>
<div id="container">
	<?
	//print events
	$current_month = "";
	$result = get_all_current_events();
	while ($event_row = mysql_fetch_assoc($result))
	{
		$current_month = print_event($event_row['active_item_ID'],$current_month);
	}
	mysql_free_result($result);
	?>
</div>
</div>
	<?
	print_footline();
	print_footer(); 


 include 'libraries/close_db_connection.php'; 
 ?>
